﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NumbersDivisibleBy3And7
{
    class Program
    {
        private static Random random = new Random();
        
        static void Main()
        {
            int[] array = new int[200];
            for (int i = 0; i < array.Length; i++)
            {
                array[i] = i; random.Next(array.Length);
            }

            array.AsParallel().Where(x => x % 21 == 0).ForAll(x => Console.WriteLine(x));
            Console.WriteLine();
        }
    }
}
